#include "httplib.h"
using namespace httplib;

int main()
{
    Client cli("43.139.97.242", 8888);
    auto ret1 = cli.Get("/hello");
    std::cout << ret1->status << std::endl;
    std::cout << ret1->body << std::endl;

    auto ret2 = cli.Get("/number/678");
    std::cout << ret2->status << std::endl;
    std::cout << ret2->body << std::endl;

    httplib::MultipartFormDataItems items = {{ "file1", "this is file content", "hello.txt", "text/plain" },};
    auto ret3 = cli.Post("/upload", items);
    std::cout << ret3->status << std::endl;
    std::cout << ret3->body << std::endl;
    
    return 0;
}